package com.powernode.commons;

/**
 * @AUTHOR X
 * @DATE 2021/10/28 20:25
 * @DESC
 */
@SuppressWarnings({"all"})
public enum ResultEnum {
    DATA_NOT_FOUND(4004,"未找到数据"),
    DATA_FAILED(1001,"操作失败");

    private int code;
    private String message;

    ResultEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
